import request from '@/utils/request'
export function getJoinUsContent() {
  return request({
    url: '/sysJoinMain/sysJoinMain/content',
    method: 'get'
  })
}
// 查询加入我们页面配置列表
export function listSysJoinMain(query) {
  return request({
    url: '/sysJoinMain/sysJoinMain/list',
    method: 'get',
    params: query
  })
}

// 查询加入我们页面配置详细
export function getSysJoinMain(joinId) {
  return request({
    url: '/sysJoinMain/sysJoinMain/' + joinId,
    method: 'get'
  })
}

// 新增加入我们页面配置
export function addSysJoinMain(data) {
  return request({
    url: '/sysJoinMain/sysJoinMain',
    method: 'post',
    data: data
  })
}

// 修改加入我们页面配置
export function updateSysJoinMain(data) {
  return request({
    url: '/sysJoinMain/sysJoinMain',
    method: 'put',
    data: data
  })
}

// 删除加入我们页面配置
export function delSysJoinMain(joinId) {
  return request({
    url: '/sysJoinMain/sysJoinMain/' + joinId,
    method: 'delete'
  })
}
